#pragma once

#include "BaseQuest.h"
#include "PickUp.h"
#include "Platform.h"

class CollectQuest : public BaseQuest{
private:
	int numOfItemsCollected, questMaxNum;

	vector<Platform *> *FloorList;

	vector<PickUp *> *PickUpList;

	vector<Object *> CrateList;

	void CreateCrate( Vector3D position, Vector3D oOff );

	void CreatePickUp( Vector3D position, Item::no itemNumber );
public:
	CollectQuest(void);
	~CollectQuest(void);

	void InitQuest(Character *playerInfo, vector<Platform *> *FloorList, vector<Platform *> *SpawnerList, vector<PickUp *> *PickUpList, int questTimeSeconds);
	void RenderQuest(void);
	bool UpdateQuest(Vector3D offset, float elapsed);
};